local S = minetest.get_translator("default")
charcoals.lump_name = "charcoals:charcoal_lump"

if charcoals.exist_ethereal then
	local lump_name = "ethereal:charcoal_lump"
	if minetest.registered_items[lump_name] ~= nil then
		charcoals.lump_name = lump_name
	end
end

if charcoals.lump_name == "charcoals:charcoal_lump" then

	minetest.register_craftitem(charcoals.lump_name, {
		image = "charcoal_lump.png",
    		description=S("Lump of Charcoal"),
		short_description=S("Charcoal"),
		groups = {coal = 1, flammable = 1}
	})
end

